package com.codeplex.boomships.Common;

import java.io.Serializable;

public class Cell implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    private CellState state;
    private int positionX;
    private int positionY;
    
    public CellState getState() {
		return state;
	}
	public void setState(CellState state) {
		this.state = state;
	}
	public int getPositionX() {
		return positionX;
	}
	public void setPositionX(int positionX) {
		this.positionX = positionX;
	}
	public int getPositionY() {
		return positionY;
	}
	public void setPositionY(int positionY) {
		this.positionY = positionY;
	}
	
	public Cell(){}
    public Cell(CellState pState, int pX, int pY){
    	this.positionX = pX;
    	this.positionY = pY;
    	this.state = pState;
    }

}
